#include<stdio.h>
int main()
{
    int x,y,z;

    scanf("%d%d%d",&x,&y,&z);
    int t;
    if(x>y){t=x;x=y;y=t;}
    if(y>z){t=y;y=z;z=t;}
    if(x>y){t=x;x=y;y=t;}//x>y

    printf("%d %d %d\n",x,y,z);

    return 0;
}
